package com.cloud.client;

import com.cloud.domain.TOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/6/28 15:34
 * @Desc
 * @Remarks
 */
@Component
@FeignClient("CLOUD-PRODUCER")
public interface OrderClient {

    @RequestMapping("/domain/t-order/getById")
    TOrder getById(@RequestParam("id") Long id);
}
